package com.macro.mall.mapper;

import com.macro.mall.model.BmsMpSlideshow;
import com.macro.mall.model.BmsMpSlideshowExample;
import com.macro.mall.model.PmsProductAttribute;
import com.macro.mall.model.PmsProductAttributeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BmsMpSlideshowMapper {
    long countByExample(BmsMpSlideshowExample example);

    int deleteByExample(BmsMpSlideshowExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsMpSlideshow record);

    int insertSelective(BmsMpSlideshow record);

    List<BmsMpSlideshow> selectByExample(BmsMpSlideshowExample example);

    BmsMpSlideshow selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BmsMpSlideshow record, @Param("example") BmsMpSlideshowExample example);

    int updateByExample(@Param("record") BmsMpSlideshow record, @Param("example") BmsMpSlideshowExample example);

    int updateByPrimaryKeySelective(BmsMpSlideshow record);

    int updateByPrimaryKey(BmsMpSlideshow record);


   BmsMpSlideshow selectDetail(@Param("id") Long id);
}